//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.lujieni.springbootmybatis.po;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class BasicEntity implements Serializable {

    private static final long serialVersionUID = 1392162988610720992L;

    @TableId
    private Long id;

    @TableField("is_active")
    private Integer active;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy MM dd HH mm", timezone = "GMT+8")
    private Date createTime;

    @TableField(value = "create_user_code", fill = FieldFill.INSERT)
    private String createUserCode;

    @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy MM dd HH mm", timezone = "GMT+8")
    private Date modifyTime;

    @TableField(value = "modify_user_code", fill = FieldFill.UPDATE)
    private String modifyUserCode;

}
